package com.rivulet.dawn.service.mapper;

import com.rivulet.dawn.api.request.business.TagSaveRequest;
import com.rivulet.dawn.api.request.business.TagSearchRequest;
import com.rivulet.dawn.api.response.business.TagSearchResponse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TagMapper {
    List<TagSearchResponse> search(TagSearchRequest tagSearchRequest);
    Long total(TagSearchRequest tagSearchRequest);
    Integer update(TagSaveRequest tagSaveRequest);
    Integer insert(TagSaveRequest tagSaveRequest);
}
